/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon.h | 128 size_t kbits, size_t blkbits, size_t ivbits); 129 void ossl_cipher_generic_initkey(void *vctx, size_t kbits, size_t blkbits, 135 blkbits, ivbits, typ) \ argument 162 kbits, blkbits, ivbits, typ) \ argument 190 kbits, blkbits, ivbits, typ) \ argument 195 flags, kbits, blkbits, ivbits); \ 203 ossl_cipher_generic_initkey(ctx, kbits, blkbits, ivbits, \ 212 blkbits, ivbits, typ) \ argument 214 blkbits, ivbits, typ) \ 216 blkbits, ivbits, typ) [all …]
|
H A D | ciphercommon_aead.h | 18 # define IMPLEMENT_aead_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) \ argument 23 flags, kbits, blkbits, ivbits); \
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_tdes.h | 34 kbits, blkbits, ivbits, block) \ argument 38 return ossl_tdes_newctx(provctx, EVP_CIPH_##UCMODE##_MODE, kbits, blkbits, \ 46 flags, kbits, blkbits, ivbits); \ 75 void *ossl_tdes_newctx(void *provctx, int mode, size_t kbits, size_t blkbits, 78 size_t kbits, size_t blkbits, size_t ivbits);
|
H A D | cipher_aes_cbc_hmac_sha.c | 27 # define IMPLEMENT_CIPHER(nm, sub, kbits, blkbits, ivbits, flags) \ argument 311 size_t kbits, size_t blkbits, size_t ivbits, in base_init() argument 314 ossl_cipher_generic_initkey(&ctx->base, kbits, blkbits, ivbits, in base_init() 321 size_t blkbits, size_t ivbits, in aes_cbc_hmac_sha1_newctx() argument 332 ossl_prov_cipher_hw_aes_cbc_hmac_sha1(), kbits, blkbits, in aes_cbc_hmac_sha1_newctx() 361 size_t blkbits, size_t ivbits, in aes_cbc_hmac_sha256_newctx() argument 372 ossl_prov_cipher_hw_aes_cbc_hmac_sha256(), kbits, blkbits, in aes_cbc_hmac_sha256_newctx() 397 # define IMPLEMENT_CIPHER(nm, sub, kbits, blkbits, ivbits, flags) \ argument 401 return nm##_##sub##_newctx(provctx, kbits, blkbits, ivbits, flags); \ 407 flags, kbits, blkbits, ivbits); \
|
H A D | cipher_des.c | 31 static void *des_newctx(void *provctx, size_t kbits, size_t blkbits, in des_newctx() argument 42 ossl_cipher_generic_initkey(ctx, kbits, blkbits, ivbits, mode, flags, in des_newctx() 151 kbits, blkbits, ivbits, block) \ argument 155 return des_newctx(provctx, kbits, blkbits, ivbits, \ 163 flags, kbits, blkbits, ivbits); \
|
H A D | cipher_tdes_common.c | 23 void *ossl_tdes_newctx(void *provctx, int mode, size_t kbits, size_t blkbits, in ossl_tdes_newctx() argument 34 ossl_cipher_generic_initkey(tctx, kbits, blkbits, ivbits, mode, flags, in ossl_tdes_newctx() 189 size_t kbits, size_t blkbits, size_t ivbits) in ossl_tdes_get_params() argument 205 kbits, blkbits, ivbits); in ossl_tdes_get_params()
|
H A D | cipher_rc4.c | 71 #define IMPLEMENT_cipher(alg, UCALG, flags, kbits, blkbits, ivbits, typ) \ argument 76 kbits, blkbits, ivbits); \ 86 ossl_cipher_generic_initkey(ctx, kbits, blkbits, ivbits, 0, flags, \
|
H A D | cipher_cts.h | 14 blkbits, ivbits, typ) \ argument 19 flags, kbits, blkbits, ivbits); \
|
H A D | cipher_aes_wrp.c | 50 static void *aes_wrap_newctx(size_t kbits, size_t blkbits, in aes_wrap_newctx() argument 62 ossl_cipher_generic_initkey(ctx, kbits, blkbits, ivbits, mode, flags, in aes_wrap_newctx() 286 #define IMPLEMENT_cipher(mode, fname, UCMODE, flags, kbits, blkbits, ivbits) \ argument 291 flags, kbits, blkbits, ivbits); \ 296 return aes_##mode##_newctx(kbits, blkbits, ivbits, \
|
H A D | cipher_tdes_wrap.c | 170 # define IMPLEMENT_WRAP_CIPHER(flags, kbits, blkbits, ivbits) \ argument 174 return ossl_tdes_newctx(provctx, EVP_CIPH_WRAP_MODE, kbits, blkbits, \ 182 kbits, blkbits, ivbits); \
|
H A D | cipher_rc5.c | 131 blkbits, ivbits, typ) \ argument 136 flags, kbits, blkbits, ivbits); \ 146 ossl_cipher_generic_initkey(ctx, kbits, blkbits, ivbits, \
|
H A D | cipher_rc2.c | 234 #define IMPLEMENT_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, blkbits, \ argument 240 flags, kbits, blkbits, ivbits); \ 250 ossl_cipher_generic_initkey(ctx, kbits, blkbits, ivbits, \
|
H A D | cipher_aes_ocb.c | 306 static void *aes_ocb_newctx(void *provctx, size_t kbits, size_t blkbits, in aes_ocb_newctx() argument 316 ossl_cipher_generic_initkey(ctx, kbits, blkbits, ivbits, mode, flags, in aes_ocb_newctx() 528 #define IMPLEMENT_cipher(mode, UCMODE, flags, kbits, blkbits, ivbits) \ argument 533 flags, kbits, blkbits, ivbits); \ 538 return aes_##mode##_newctx(provctx, kbits, blkbits, ivbits, \
|
H A D | ciphercommon.c | 43 size_t kbits, size_t blkbits, size_t ivbits) in ossl_cipher_generic_get_params() argument 88 if (p != NULL && !OSSL_PARAM_set_size_t(p, blkbits / 8)) { in ossl_cipher_generic_get_params() 692 void ossl_cipher_generic_initkey(void *vctx, size_t kbits, size_t blkbits, in ossl_cipher_generic_initkey() argument 709 ctx->blocksize = blkbits / 8; in ossl_cipher_generic_initkey()
|
H A D | cipher_aes_xts.c | 124 size_t kbits, size_t blkbits, size_t ivbits) in aes_xts_newctx() argument 133 ossl_cipher_generic_initkey(&ctx->base, kbits, blkbits, ivbits, mode, in aes_xts_newctx()
|
H A D | cipher_sm4_xts.c | 78 size_t kbits, size_t blkbits, size_t ivbits) in sm4_xts_newctx() argument 83 ossl_cipher_generic_initkey(&ctx->base, kbits, blkbits, ivbits, mode, in sm4_xts_newctx()
|
H A D | cipher_aes_siv.c | 253 #define IMPLEMENT_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) \ argument 272 flags, 2*kbits, blkbits, ivbits); \
|
H A D | cipher_aes_gcm_siv.c | 280 #define IMPLEMENT_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) … argument 297 … flags, kbits, blkbits, ivbits); \
|