• Home
  • Raw
  • Download

Lines Matching refs:ck_size

907 	int ck_size = 0;  in chcr_keyctx_ck_size()  local
910 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in chcr_keyctx_ck_size()
912 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_192; in chcr_keyctx_ck_size()
914 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_256; in chcr_keyctx_ck_size()
916 ck_size = 0; in chcr_keyctx_ck_size()
918 return ck_size; in chcr_keyctx_ck_size()
938 unsigned int ck_size, context_size; in chcr_aes_cbc_setkey() local
946 ck_size = chcr_keyctx_ck_size(keylen); in chcr_aes_cbc_setkey()
947 alignment = ck_size == CHCR_KEYCTX_CIPHER_KEY_SIZE_192 ? 8 : 0; in chcr_aes_cbc_setkey()
954 ablkctx->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, CHCR_KEYCTX_NO_KEY, in chcr_aes_cbc_setkey()
969 unsigned int ck_size, context_size; in chcr_aes_ctr_setkey() local
976 ck_size = chcr_keyctx_ck_size(keylen); in chcr_aes_ctr_setkey()
977 alignment = (ck_size == CHCR_KEYCTX_CIPHER_KEY_SIZE_192) ? 8 : 0; in chcr_aes_ctr_setkey()
983 ablkctx->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, CHCR_KEYCTX_NO_KEY, in chcr_aes_ctr_setkey()
999 unsigned int ck_size, context_size; in chcr_aes_rfc3686_setkey() local
1013 ck_size = chcr_keyctx_ck_size(keylen); in chcr_aes_rfc3686_setkey()
1014 alignment = (ck_size == CHCR_KEYCTX_CIPHER_KEY_SIZE_192) ? 8 : 0; in chcr_aes_rfc3686_setkey()
1020 ablkctx->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, CHCR_KEYCTX_NO_KEY, in chcr_aes_rfc3686_setkey()
3430 unsigned char ck_size, mk_size; in chcr_ccm_common_setkey() local
3435 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in chcr_ccm_common_setkey()
3438 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_192; in chcr_ccm_common_setkey()
3441 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_256; in chcr_ccm_common_setkey()
3447 aeadctx->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, mk_size, 0, 0, in chcr_ccm_common_setkey()
3497 unsigned int ck_size; in chcr_gcm_setkey() local
3515 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in chcr_gcm_setkey()
3517 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_192; in chcr_gcm_setkey()
3519 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_256; in chcr_gcm_setkey()
3530 aeadctx->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, in chcr_gcm_setkey()
3560 unsigned char ck_size = 0; in chcr_authenc_setkey() local
3591 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in chcr_authenc_setkey()
3593 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_192; in chcr_authenc_setkey()
3595 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_256; in chcr_authenc_setkey()
3662 aeadctx->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, param.mk_size, in chcr_authenc_setkey()
3688 unsigned char ck_size = 0; in chcr_aead_digest_null_setkey() local
3710 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in chcr_aead_digest_null_setkey()
3712 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_192; in chcr_aead_digest_null_setkey()
3714 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_256; in chcr_aead_digest_null_setkey()
3728 aeadctx->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, CHCR_KEYCTX_NO_KEY, 0, in chcr_aead_digest_null_setkey()