Lines Matching refs:keys
64 u8 keys[2][AES_BLOCK_SIZE]; in nx_xcbc_empty() local
76 memset(keys[0], 0x01, sizeof(keys[0])); in nx_xcbc_empty()
77 memset(keys[1], 0x03, sizeof(keys[1])); in nx_xcbc_empty()
79 len = sizeof(keys); in nx_xcbc_empty()
81 in_sg = nx_build_sg_list(nx_ctx->in_sg, (u8 *) keys, &len, in nx_xcbc_empty()
84 if (len != sizeof(keys)) in nx_xcbc_empty()
87 out_sg = nx_build_sg_list(nx_ctx->out_sg, (u8 *) keys, &len, in nx_xcbc_empty()
90 if (len != sizeof(keys)) in nx_xcbc_empty()
102 keys[1][0] ^= 0x80; in nx_xcbc_empty()
104 len = sizeof(keys[1]); in nx_xcbc_empty()
107 memcpy(csbcpb->cpb.aes_ecb.key, keys[0], AES_BLOCK_SIZE); in nx_xcbc_empty()
108 in_sg = nx_build_sg_list(nx_ctx->in_sg, (u8 *) keys[1], &len, in nx_xcbc_empty()
111 if (len != sizeof(keys[1])) in nx_xcbc_empty()