Lines Matching refs:keylen
194 ret = crypto_si32_aes_set_key(ctx->key.bit_stream, ctx->keylen); in crypto_si32_aes_calc_decryption_key()
225 switch (ctx->keylen) { in crypto_si32_aes_calc_decryption_key()
241 LOG_ERR("Invalid key len: %" PRIu16, ctx->keylen); in crypto_si32_aes_calc_decryption_key()
250 switch (ctx->keylen) { in crypto_si32_aes_set_key_size()
261 LOG_ERR("Invalid key len: %" PRIu16, ctx->keylen); in crypto_si32_aes_set_key_size()
625 ret = crypto_si32_aes_set_key(ctx->key.bit_stream, ctx->keylen); in crypto_si32_aes_ecb_op()
634 ret = crypto_si32_aes_set_key(session->decryption_key, ctx->keylen); in crypto_si32_aes_ecb_op()
783 ret = crypto_si32_aes_set_key(ctx->key.bit_stream, ctx->keylen); in crypto_si32_aes_cbc_op()
792 ret = crypto_si32_aes_set_key(session->decryption_key, ctx->keylen); in crypto_si32_aes_cbc_op()
939 ret = crypto_si32_aes_set_key(ctx->key.bit_stream, ctx->keylen); in crypto_si32_aes_ctr_op()
1071 if (ctx->keylen != 16) { in crypto_si32_begin_session()