Lines Matching refs:keylen
101 size_t keylen, const unsigned char *iv, in aes_wrap_init() argument
123 if (keylen != ctx->keylen) { in aes_wrap_init()
141 AES_set_encrypt_key(key, keylen * 8, &wctx->ks.ks); in aes_wrap_init()
144 AES_set_decrypt_key(key, keylen * 8, &wctx->ks.ks); in aes_wrap_init()
151 static int aes_wrap_einit(void *ctx, const unsigned char *key, size_t keylen, in aes_wrap_einit() argument
155 return aes_wrap_init(ctx, key, keylen, iv, ivlen, params, 1); in aes_wrap_einit()
158 static int aes_wrap_dinit(void *ctx, const unsigned char *key, size_t keylen, in aes_wrap_dinit() argument
162 return aes_wrap_init(ctx, key, keylen, iv, ivlen, params, 0); in aes_wrap_dinit()
267 size_t keylen = 0; in aes_wrap_set_ctx_params() local
274 if (!OSSL_PARAM_get_size_t(p, &keylen)) { in aes_wrap_set_ctx_params()
278 if (ctx->keylen != keylen) { in aes_wrap_set_ctx_params()