/openssl/include/crypto/ |
H A D | ctype.h | 56 # define ossl_toascii(c) (c) argument 57 # define ossl_fromascii(c) (c) argument 70 # define ossl_isalnum(c) (ossl_ctype_check((c), CTYPE_MASK_alnum)) argument 71 # define ossl_isalpha(c) (ossl_ctype_check((c), CTYPE_MASK_alpha)) argument 73 # define ossl_isascii(c) (ossl_ctype_check((c), CTYPE_MASK_ascii)) argument 75 # define ossl_isascii(c) (((c) & ~127) == 0) argument 77 # define ossl_isblank(c) (ossl_ctype_check((c), CTYPE_MASK_blank)) argument 78 # define ossl_iscntrl(c) (ossl_ctype_check((c), CTYPE_MASK_cntrl)) argument 79 # define ossl_isgraph(c) (ossl_ctype_check((c), CTYPE_MASK_graph)) argument 80 # define ossl_isprint(c) (ossl_ctype_check((c), CTYPE_MASK_print)) argument [all …]
|
H A D | md32_common.h | 126 # define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ argument 130 # define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ argument 138 # define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++))) ), \ argument 142 # define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ argument 154 int HASH_UPDATE(HASH_CTX *c, const void *data_, size_t len) in HASH_UPDATE() 212 void HASH_TRANSFORM(HASH_CTX *c, const unsigned char *data) in HASH_TRANSFORM() 217 int HASH_FINAL(unsigned char *md, HASH_CTX *c) in HASH_FINAL()
|
/openssl/crypto/ |
H A D | ctype.c | 227 int ossl_toascii(int c) in ossl_toascii() 242 int ossl_fromascii(int c) in ossl_fromascii() 252 int ossl_ctype_check(int c, unsigned int mask) in ossl_ctype_check() 265 #define ASCII_IS_DIGIT(c) (c >= 0x30 && c <= 0x39) argument 266 #define ASCII_IS_UPPER(c) (c >= 0x41 && c <= 0x5A) argument 269 int ossl_isdigit(int c) in ossl_isdigit() 276 int ossl_isupper(int c) in ossl_isupper() 283 int ossl_islower(int c) in ossl_islower() 296 int ossl_tolower(int c) in ossl_tolower() 303 int ossl_toupper(int c) in ossl_toupper() [all …]
|
/openssl/crypto/conf/ |
H A D | conf_def.h | 30 #define IS_COMMENT(conf,c) is_keytype(conf, c, CONF_COMMENT) argument 31 #define IS_FCOMMENT(conf,c) is_keytype(conf, c, CONF_FCOMMENT) argument 32 #define IS_EOF(conf,c) is_keytype(conf, c, CONF_EOF) argument 33 #define IS_ESC(conf,c) is_keytype(conf, c, CONF_ESC) argument 34 #define IS_NUMBER(conf,c) is_keytype(conf, c, CONF_NUMBER) argument 35 #define IS_WS(conf,c) is_keytype(conf, c, CONF_WS) argument 36 #define IS_ALNUM(conf,c) is_keytype(conf, c, CONF_ALNUM) argument 37 #define IS_ALNUM_PUNCT(conf,c) is_keytype(conf, c, CONF_ALNUM_PUNCT) argument 38 #define IS_QUOTE(conf,c) is_keytype(conf, c, CONF_QUOTE) argument 39 #define IS_DQUOTE(conf,c) is_keytype(conf, c, CONF_DQUOTE) argument [all …]
|
/openssl/crypto/modes/ |
H A D | xts128.c | 32 u8 c[16]; in CRYPTO_xts128_encrypt() member 79 size_t c; in CRYPTO_xts128_encrypt() local 94 u8 c = inp[i]; in CRYPTO_xts128_encrypt() local 107 u8 c[16]; in CRYPTO_xts128_encrypt() member 118 size_t c; in CRYPTO_xts128_encrypt() local 143 u8 c = inp[16 + i]; in CRYPTO_xts128_encrypt() local
|
H A D | cbc128.c | 83 unsigned char c[16]; in CRYPTO_cbc128_decrypt() member 123 unsigned char c; in CRYPTO_cbc128_decrypt() local 137 size_t c; in CRYPTO_cbc128_decrypt() local 156 unsigned char c; in CRYPTO_cbc128_decrypt() local
|
H A D | xts128gb.c | 32 u8 c[16]; in ossl_crypto_xts128gb_encrypt() member 113 u8 c = inp[i]; in ossl_crypto_xts128gb_encrypt() local 126 u8 c[16]; in ossl_crypto_xts128gb_encrypt() member 181 u8 c = inp[16 + i]; in ossl_crypto_xts128gb_encrypt() local
|
H A D | cts128.c | 94 unsigned char c[16]; in CRYPTO_cts128_encrypt() member 130 unsigned char c[16]; in CRYPTO_nistcts128_encrypt() member 166 unsigned char c[32]; in CRYPTO_cts128_decrypt_block() member 190 unsigned char c = in[n]; in CRYPTO_cts128_decrypt_block() local 209 unsigned char c[32]; in CRYPTO_nistcts128_decrypt_block() member 237 unsigned char c = in[n]; in CRYPTO_nistcts128_decrypt_block() local 255 unsigned char c[32]; in CRYPTO_cts128_decrypt() member 295 unsigned char c[32]; in CRYPTO_nistcts128_decrypt() member
|
/openssl/crypto/idea/ |
H A D | idea_local.h | 20 #define n2ln(c,l1,l2,n) { \ argument 43 #define l2nn(l1,l2,c,n) { \ argument 65 #define n2l(c,l) (l =((unsigned long)(*((c)++)))<<24L, \ argument 71 #define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24L)&0xff), \ argument 77 #define s2n(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ argument 81 #define n2s(c,l) (l =((IDEA_INT)(*((c)++)))<< 8L, \ argument
|
/openssl/crypto/mdc2/ |
H A D | mdc2dgst.c | 24 #define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \ argument 30 #define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ argument 36 int MDC2_Init(MDC2_CTX *c) in MDC2_Init() 45 int MDC2_Update(MDC2_CTX *c, const unsigned char *in, size_t len) in MDC2_Update() 77 static void mdc2_body(MDC2_CTX *c, const unsigned char *in, size_t len) in mdc2_body() 116 int MDC2_Final(unsigned char *md, MDC2_CTX *c) in MDC2_Final()
|
/openssl/crypto/rc2/ |
H A D | rc2_local.h | 11 #define c2l(c,l) (l =((unsigned long)(*((c)++))) , \ argument 18 #define c2ln(c,l1,l2,n) { \ argument 41 #define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ argument 48 #define l2cn(l1,l2,c,n) { \ argument
|
/openssl/crypto/md5/ |
H A D | md5_local.h | 38 #define HASH_MAKE_STRING(c,s) do { \ argument 59 #define F(b,c,d) ((((c) ^ (d)) & (b)) ^ (d)) argument 60 #define G(b,c,d) ((((b) ^ (c)) & (d)) ^ (c)) argument 61 #define H(b,c,d) ((b) ^ (c) ^ (d)) argument 62 #define I(b,c,d) (((~(d)) | (b)) ^ (c)) argument 64 #define R0(a,b,c,d,k,s,t) { \ argument 69 #define R1(a,b,c,d,k,s,t) { \ argument 74 #define R2(a,b,c,d,k,s,t) { \ argument 79 #define R3(a,b,c,d,k,s,t) { \ argument
|
/openssl/crypto/md4/ |
H A D | md4_local.h | 25 #define HASH_MAKE_STRING(c,s) do { \ argument 46 #define F(b,c,d) ((((c) ^ (d)) & (b)) ^ (d)) argument 47 #define G(b,c,d) (((b) & (c)) | ((b) & (d)) | ((c) & (d))) argument 48 #define H(b,c,d) ((b) ^ (c) ^ (d)) argument 50 #define R0(a,b,c,d,k,s,t) { \ argument 54 #define R1(a,b,c,d,k,s,t) { \ argument 58 #define R2(a,b,c,d,k,s,t) { \ argument
|
/openssl/crypto/bf/ |
H A D | bf_local.h | 15 # define n2ln(c,l1,l2,n) { \ argument 38 # define l2nn(l1,l2,c,n) { \ argument 60 # define n2l(c,l) (l =((unsigned long)(*((c)++)))<<24L, \ argument 66 # define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24L)&0xff), \ argument
|
/openssl/include/internal/ |
H A D | common.h | 105 # define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \ argument 111 # define c2ln(c,l1,l2,n) { \ argument 126 # define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ argument 131 # define n2l(c,l) (l =((unsigned long)(*((c)++)))<<24, \ argument 136 # define n2l8(c,l) (l =((uint64_t)(*((c)++)))<<56, \ argument 145 # define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ argument 160 # define l2cn(l1,l2,c,n) { \ argument 174 # define n2s(c,s) ((s=(((unsigned int)((c)[0]))<< 8)| \ argument 176 # define s2n(s,c) (((c)[0]=(unsigned char)(((s)>> 8)&0xff), \ argument 179 # define n2l3(c,l) ((l =(((unsigned long)((c)[0]))<<16)| \ argument [all …]
|
H A D | numbers.h | 69 # define UINT32_C(c) (c) argument 72 # define UINT64_C(c) (c##UL) argument 81 # define UINT32_C(c) (c##UL) argument 84 # define UINT64_C(c) (c##ULL) argument
|
/openssl/ssl/quic/ |
H A D | quic_record_util.c | 231 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_cipher_name() local 237 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_md_name() local 243 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_secret_len() local 249 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_cipher_key_len() local 255 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_cipher_iv_len() local 261 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_cipher_tag_len() local 267 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_hdr_prot_cipher_id() local 273 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_hdr_prot_key_len() local 279 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_max_pkt() local 285 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_max_forged_pkt() local
|
/openssl/crypto/md2/ |
H A D | md2_dgst.c | 77 int MD2_Init(MD2_CTX *c) in MD2_Init() 86 int MD2_Update(MD2_CTX *c, const unsigned char *data, size_t len) in MD2_Update() 123 static void md2_block(MD2_CTX *c, const unsigned char *d) in md2_block() 156 int MD2_Final(unsigned char *md, MD2_CTX *c) in MD2_Final()
|
/openssl/crypto/sha/ |
H A D | sha256.c | 27 int SHA224_Init(SHA256_CTX *c) in SHA224_Init() 42 int SHA256_Init(SHA256_CTX *c) in SHA256_Init() 57 int ossl_sha256_192_init(SHA256_CTX *c) in ossl_sha256_192_init() 64 int SHA224_Update(SHA256_CTX *c, const void *data, size_t len) in SHA224_Update() 69 int SHA224_Final(unsigned char *md, SHA256_CTX *c) in SHA224_Final() 88 #define HASH_MAKE_STRING(c,s) do { \ argument 215 unsigned MD32_REG_T a, b, c, d, e, f, g, h, s0, s1, T1, T2; in sha256_block_data_order() local 279 # define ROUND_00_15(i,a,b,c,d,e,f,g,h) do { \ argument 284 # define ROUND_16_63(i,a,b,c,d,e,f,g,h,X) do { \ argument 297 unsigned MD32_REG_T a, b, c, d, e, f, g, h, s0, s1, T1; in sha256_block_data_order_c() local
|
H A D | sha_local.h | 22 #define HASH_MAKE_STRING(c,s) do { \ argument 54 int HASH_INIT(SHA_CTX *c) in HASH_INIT() 78 #define F_00_19(b,c,d) ((((c) ^ (d)) & (b)) ^ (d)) argument 79 #define F_20_39(b,c,d) ((b) ^ (c) ^ (d)) argument 81 #define F_60_79(b,c,d) F_20_39(b,c,d) argument 85 # define BODY_00_15(i,a,b,c,d,e,f,xi) \ argument 89 # define BODY_16_19(i,a,b,c,d,e,f,xi,xa,xb,xc,xd) \ argument 94 # define BODY_20_31(i,a,b,c,d,e,f,xi,xa,xb,xc,xd) \ argument 99 # define BODY_32_39(i,a,b,c,d,e,f,xa,xb,xc,xd) \ argument 104 # define BODY_40_59(i,a,b,c,d,e,f,xa,xb,xc,xd) \ argument [all …]
|
H A D | sha512.c | 78 int sha512_224_init(SHA512_CTX *c) in sha512_224_init() 96 int sha512_256_init(SHA512_CTX *c) in sha512_256_init() 114 int SHA384_Init(SHA512_CTX *c) in SHA384_Init() 132 int SHA512_Init(SHA512_CTX *c) in SHA512_Init() 159 int SHA512_Final(unsigned char *md, SHA512_CTX *c) in SHA512_Final() 278 int SHA384_Final(unsigned char *md, SHA512_CTX *c) in SHA384_Final() 331 int SHA384_Update(SHA512_CTX *c, const void *data, size_t len) in SHA384_Update() 667 SHA_LONG64 a, b, c, d, e, f, g, h, s0, s1, T1, T2; in sha512_block_data_order() local 733 # define ROUND_00_15(i,a,b,c,d,e,f,g,h) do { \ argument 738 # define ROUND_16_80(i,j,a,b,c,d,e,f,g,h,X) do { \ argument [all …]
|
/openssl/crypto/whrlpool/ |
H A D | wp_dgst.c | 65 int WHIRLPOOL_Init(WHIRLPOOL_CTX *c) in WHIRLPOOL_Init() 71 int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *_inp, size_t bytes) in WHIRLPOOL_Update() 92 void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *_inp, size_t bits) in WHIRLPOOL_BitUpdate() 214 int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c) in WHIRLPOOL_Final()
|
/openssl/crypto/ripemd/ |
H A D | rmd_local.h | 35 #define HASH_MAKE_STRING(c,s) do { \ argument 64 #define RIP1(a,b,c,d,e,w,s) { \ argument 69 #define RIP2(a,b,c,d,e,w,s,K) { \ argument 74 #define RIP3(a,b,c,d,e,w,s,K) { \ argument 79 #define RIP4(a,b,c,d,e,w,s,K) { \ argument 84 #define RIP5(a,b,c,d,e,w,s,K) { \ argument
|
/openssl/providers/implementations/digests/ |
H A D | blake2b_prov.c | 127 int ossl_blake2b_init(BLAKE2B_CTX *c, const BLAKE2B_PARAM *P) in ossl_blake2b_init() 137 int ossl_blake2b_init_key(BLAKE2B_CTX *c, const BLAKE2B_PARAM *P, in ossl_blake2b_init_key() 206 #define G(r,i,a,b,c,d) \ in blake2b_compress() argument 259 int ossl_blake2b_update(BLAKE2B_CTX *c, const void *data, size_t datalen) in ossl_blake2b_update() 307 int ossl_blake2b_final(unsigned char *md, BLAKE2B_CTX *c) in ossl_blake2b_final()
|
H A D | blake2s_prov.c | 117 int ossl_blake2s_init(BLAKE2S_CTX *c, const BLAKE2S_PARAM *P) in ossl_blake2s_init() 127 int ossl_blake2s_init_key(BLAKE2S_CTX *c, const BLAKE2S_PARAM *P, in ossl_blake2s_init_key() 196 #define G(r,i,a,b,c,d) \ in blake2s_compress() argument 247 int ossl_blake2s_update(BLAKE2S_CTX *c, const void *data, size_t datalen) in ossl_blake2s_update() 295 int ossl_blake2s_final(unsigned char *md, BLAKE2S_CTX *c) in ossl_blake2s_final()
|