/***************************************************************************/ /** **/ /** HP CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Development Company, L.P., and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HP. **/ /** © 2021 Copyright Hewlett-Packard Development Company, L.P. **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2021 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:27:20 by OpenVMS SDL EV3-3 */ /* Source: 13-JAN-2012 16:21:42 $1$DGA8085:[ENCRYPT.SRC]ENCRYPT_DEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE encrypt_def IDENT V01.10 ***/ #ifndef __ENCRYPT_DEF_LOADED #define __ENCRYPT_DEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /* */ /* Initialize context for encrypt/decrypt operations */ /* Accepts following arguments */ /* context : type - longword integer signed; access - write only; mechanism - by reference */ /* algorithm : type - char_string; access - read/write; mechanism - by descriptor */ /* key-type : type - longword logical unsigned; access - read only; mechanism - by reference */ /* key-name : type - char_string; access - read only; mechanism - by descriptor */ /* [ p1 ] : type - quadword[1] (DES), quadword[2] (AES); access - read only; mechanism - by reference */ /* */ #define encrypt$init ENCRYPT$INIT int encrypt$init(__unknown_params); /* */ /* Perform encryption of next record of plaintext */ /* Accepts following arguments */ /* context : type - longword integer signed; access - write only; mechanism - by reference */ /* input : type - char_string; access - read only; mechanism - by descriptor */ /* output : type - char_string; access - write only; mechanism - by descriptor */ /* [output-length] : type - word integer; access - write only; mechanism - by reference */ /* [p1] : type - quadword[1] (DES), quadword[2] (AES); access - read only; mechanism - by reference */ /* */ #define encrypt$encrypt ENCRYPT$ENCRYPT int encrypt$encrypt(__unknown_params); /* */ /* Perform decryption of next record of plaintext */ /* Accepts following arguments */ /* context : type - longword integer signed; access - write only; mechanism - by reference */ /* input : type - char_string; access - read only; mechanism - by descriptor */ /* output : type - char_string; access - write only; mechanism - by descriptor */ /* [output-length] : type - word integer; access - write only; mechanism - by reference */ /* [p1] : type - quadword[1] (DES), quadword[2] (AES); access - read only; mechanism - by reference */ /* */ #define encrypt$decrypt ENCRYPT$DECRYPT int encrypt$decrypt(__unknown_params); /* */ /* Disassociates the encryption context and releases it */ /* Accepts following arguments */ /* context : type - longword integer signed; access - read/write; mechanism - by reference */ /* */ #define encrypt$fini ENCRYPT$FINI int encrypt$fini(__unknown_params); /* */ /* Gains access to the statistics maintained by the Encryption software */ /* Accepts following arguments */ /* context : type - longword; access - read only; mechanism - by reference */ /* code : type - longword; access - read only; mechanism - by reference */ /* destination : type - char_string; access - write only; mechanism - by descriptor */ /* return-length : type - longword; access - write only; mechanism - by reference */ /* */ #define encrypt$statistics ENCRYPT$STATISTICS int encrypt$statistics(__unknown_params); /* */ /* Places a key definition into the process, group, job, or system key storage table */ /* Accepts following arguments */ /* key-name : type - char_string; access - read only; mechanism - by descriptor */ /* key-value : type - char_string; access - read only; mechanism - by descriptor */ /* key-flags : type - longword; access - read only; mechanism - by reference */ /* */ #define encrypt$define_key ENCRYPT$DEFINE_KEY int encrypt$define_key(__unknown_params); /* */ /* Deletes a key definition from a key storage table */ /* Accepts following arguments */ /* key-name : type - char_string; access - read only; mechanism - by descriptor */ /* key-flags : type - longword; access - read only; mechanism - by reference */ /* */ #define encrypt$delete_key ENCRYPT$DELETE_KEY int encrypt$delete_key(__unknown_params); /* */ /* Encrypts or decrypts data files */ /* Accepts following arguments */ /* input-file : type - char_string; access - read only; mechanism - by descriptor */ /* output-file : type - char_string; access - read only; mechanism - by descriptor */ /* key-name : type - char_string; access - read only; mechanism - by descriptor */ /* algorithm : type - char_string; access - read only; mechanism - by descriptor */ /* file-flags : type - longword; access - read only; mechanism - by reference */ /* [item-list] : type - item_list_3; access - read only; mechanism - by descriptor */ /* */ #define encrypt$encrypt_file ENCRYPT$ENCRYPT_FILE int encrypt$encrypt_file(__unknown_params); /* */ /* Encrypts a small amount of data in an encrypt stream */ /* Accepts following arguments */ /* input : type - char_string; access - read only; mechanism - by descriptor */ /* output : type - char_string; access - write only; mechanism - by descriptor */ /* key-name : type - char_string; access - read only; mechanism - by descriptor */ /* algorithm : type - char_string; access - read only; mechanism - by descriptor */ /* */ #define encrypt$encrypt_one_record ENCRYPT$ENCRYPT_ONE_RECORD int encrypt$encrypt_one_record(__unknown_params); /* */ /* Decrypts a small amount of data on a decrypt stream */ /* Accepts following arguments */ /* input : type - char_string; access - read only; mechanism - by descriptor */ /* output : type - char_string; access - write only; mechanism - by descriptor */ /* key-name : type - char_string; access - read only; mechanism - by descriptor */ /* algorithm : type - char_string; access - read only; mechanism - by descriptor */ /* */ #define encrypt$decrypt_one_record ENCRYPT$DECRYPT_ONE_RECORD int encrypt$decrypt_one_record(__unknown_params); /* */ /* Generates a random key value */ /* Accepts following arguments */ /* algorithm-name : type - char_string; access - read only; mechanism - by descriptor */ /* key-length : type - word unsigned; access - read only; mechanism - by reference */ /* [factor-a] : type - char_string; access - read only; mechanism - by descriptor */ /* [factor-b] : type - char_string; access - read only; mechanism - by descriptor */ /* [factor-c] : type - char_string; access - read only; mechanism - by descriptor */ /* [key-buffer] : type - char_string; access - write; mechanism - by descriptor */ /* */ #define encrypt$generate_key ENCRYPT$GENERATE_KEY int encrypt$generate_key(__unknown_params); /* */ /* Unsupported calls */ /* */ #define encrypt$init_asyn ENCRYPT$INIT_ASYN int encrypt$init_asyn(__unknown_params); #define encrypt$encrypt_asyn ENCRYPT$ENCRYPT_ASYN int encrypt$encrypt_asyn(__unknown_params); #define encrypt$decrypt_asyn ENCRYPT$DECRYPT_ASYN int encrypt$decrypt_asyn(__unknown_params); #define encrypt$fini_asyn ENCRYPT$FINI_ASYN int encrypt$fini_asyn(__unknown_params); #define encrypt$sync_asyn ENCRYPT$SYNC_ASYN int encrypt$sync_asyn(__unknown_params); #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __ENCRYPT_DEF_LOADED */