Changeset 94082 in vbox for trunk/src/libs/openssl-3.0.1/include/openssl/cast.h
- Timestamp:
- Mar 3, 2022 7:17:34 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150325
- Location:
- trunk/src/libs/openssl-3.0.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.1
- Property svn:mergeinfo
-
old new 12 12 /vendor/openssl/1.1.1c:131722-131725 13 13 /vendor/openssl/1.1.1k:145841-145843 14 /vendor/openssl/3.0.1:150323-150324 15 /vendor/openssl/current:147554-150322
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.1/include/openssl/cast.h
r91772 r94082 1 1 /* 2 * Copyright 1995-20 16The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at … … 8 8 */ 9 9 10 #ifndef HEADER_CAST_H 11 # define HEADER_CAST_H 10 #ifndef OPENSSL_CAST_H 11 # define OPENSSL_CAST_H 12 # pragma once 13 14 # include <openssl/macros.h> 15 # ifndef OPENSSL_NO_DEPRECATED_3_0 16 # define HEADER_CAST_H 17 # endif 12 18 13 19 # include <openssl/opensslconf.h> … … 18 24 # endif 19 25 20 # define CAST_ENCRYPT 121 # define CAST_DECRYPT 022 23 # define CAST_LONG unsigned int24 25 26 # define CAST_BLOCK 8 26 27 # define CAST_KEY_LENGTH 16 28 29 # ifndef OPENSSL_NO_DEPRECATED_3_0 30 31 # define CAST_ENCRYPT 1 32 # define CAST_DECRYPT 0 33 34 # define CAST_LONG unsigned int 27 35 28 36 typedef struct cast_key_st { … … 31 39 } CAST_KEY; 32 40 41 # endif /* OPENSSL_NO_DEPRECATED_3_0 */ 42 # ifndef OPENSSL_NO_DEPRECATED_3_0 43 OSSL_DEPRECATEDIN_3_0 33 44 void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data); 45 OSSL_DEPRECATEDIN_3_0 34 46 void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out, 35 47 const CAST_KEY *key, int enc); 48 OSSL_DEPRECATEDIN_3_0 36 49 void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key); 50 OSSL_DEPRECATEDIN_3_0 37 51 void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key); 52 OSSL_DEPRECATEDIN_3_0 38 53 void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, 39 54 long length, const CAST_KEY *ks, unsigned char *iv, 40 55 int enc); 56 OSSL_DEPRECATEDIN_3_0 41 57 void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out, 42 58 long length, const CAST_KEY *schedule, 43 59 unsigned char *ivec, int *num, int enc); 60 OSSL_DEPRECATEDIN_3_0 44 61 void CAST_ofb64_encrypt(const unsigned char *in, unsigned char *out, 45 62 long length, const CAST_KEY *schedule, 46 63 unsigned char *ivec, int *num); 64 # endif 47 65 48 66 # ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.