/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon.h | 128 size_t kbits, size_t blkbits, size_t ivbits); 130 size_t ivbits, unsigned int mode, 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 39 ivbits, flags, \ 46 flags, kbits, blkbits, ivbits); \ 76 size_t ivbits, uint64_t flags, const PROV_CIPHER_HW *hw); 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 333 ivbits, flags); in aes_cbc_hmac_sha1_newctx() 361 size_t blkbits, size_t ivbits, in aes_cbc_hmac_sha256_newctx() argument 373 ivbits, flags); 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 | 32 size_t ivbits, unsigned int mode, uint64_t flags, 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 | 24 size_t ivbits, uint64_t flags, const PROV_CIPHER_HW *hw) 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 | 51 size_t ivbits, unsigned int mode, uint64_t flags) 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 175 ivbits, flags, \ 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 | 235 ivbits, typ) \ argument 240 flags, kbits, blkbits, ivbits); \ 250 ossl_cipher_generic_initkey(ctx, kbits, blkbits, ivbits, \
|
H A D | cipher_aes_ocb.c | 307 size_t ivbits, unsigned int mode, uint64_t flags) 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 | cipher_aes_gcm_hw_s390x.inc | 55 unsigned long long ivbits = ivlen << 3; 65 memcpy(iv_zero_pad + len - sizeof(ivbits), &ivbits, sizeof(ivbits));
|
H A D | ciphercommon.c | 43 size_t kbits, size_t blkbits, size_t ivbits) in ossl_cipher_generic_get_params() argument 93 if (p != NULL && !OSSL_PARAM_set_size_t(p, ivbits / 8)) { in ossl_cipher_generic_get_params() 693 size_t ivbits, unsigned int mode, in ossl_cipher_generic_initkey() argument 706 ctx->ivlen = ((ivbits) / 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); \
|