Lines Matching refs:ksize
210 int ksize:2; member
499 # define DECLARE_AES_EVP(ksize,lmode,umode) \ argument
500 static EVP_CIPHER *_hidden_aes_##ksize##_##lmode = NULL; \
501 static const EVP_CIPHER *padlock_aes_##ksize##_##lmode(void) \
503 if (_hidden_aes_##ksize##_##lmode == NULL \
504 && ((_hidden_aes_##ksize##_##lmode = \
505 EVP_CIPHER_meth_new(NID_aes_##ksize##_##lmode, \
507 AES_KEY_SIZE_##ksize)) == NULL \
508 || !EVP_CIPHER_meth_set_iv_length(_hidden_aes_##ksize##_##lmode, \
510 || !EVP_CIPHER_meth_set_flags(_hidden_aes_##ksize##_##lmode, \
512 || !EVP_CIPHER_meth_set_init(_hidden_aes_##ksize##_##lmode, \
514 || !EVP_CIPHER_meth_set_do_cipher(_hidden_aes_##ksize##_##lmode, \
516 || !EVP_CIPHER_meth_set_impl_ctx_size(_hidden_aes_##ksize##_##lmode, \
518 || !EVP_CIPHER_meth_set_set_asn1_params(_hidden_aes_##ksize##_##lmode, \
520 || !EVP_CIPHER_meth_set_get_asn1_params(_hidden_aes_##ksize##_##lmode, \
522 EVP_CIPHER_meth_free(_hidden_aes_##ksize##_##lmode); \
523 _hidden_aes_##ksize##_##lmode = NULL; \
525 return _hidden_aes_##ksize##_##lmode; \
636 cdata->cword.b.ksize = (key_len - 128) / 64; in padlock_aes_init_key()