Lines Matching refs:input

102 int mbedtls_aes_crypt_ecb(mbedtls_aes_context *ctx, int mode, const unsigned char input[16],  in mbedtls_aes_crypt_ecb()
107 sc_aes_ecb_encrypt(&ctx->sc_ctx, (void *)input, output, 16); in mbedtls_aes_crypt_ecb()
109 sc_aes_ecb_decrypt(&ctx->sc_ctx, (void *)input, output, 16); in mbedtls_aes_crypt_ecb()
114 csi_tee_aes_encrypt_ecb(input, 16, ctx->key, ctx->key_len, output); in mbedtls_aes_crypt_ecb()
116 csi_tee_aes_decrypt_ecb(input, 16, ctx->key, ctx->key_len, output); in mbedtls_aes_crypt_ecb()
125 const unsigned char *input, unsigned char *output) in mbedtls_aes_crypt_cbc() argument
131 memcpy(temp, input, 16); in mbedtls_aes_crypt_cbc()
133 mbedtls_aes_crypt_ecb(ctx, mode, input, output); in mbedtls_aes_crypt_cbc()
140 input += 16; in mbedtls_aes_crypt_cbc()
147 output[i] = (unsigned char)(input[i] ^ iv[i]); in mbedtls_aes_crypt_cbc()
152 input += 16; in mbedtls_aes_crypt_cbc()
166 const unsigned char *input, unsigned char *output) in mbedtls_aes_crypt_ctr() argument
179 c = *input++; in mbedtls_aes_crypt_ctr()
201 const unsigned char *input, in mbedtls_aes_crypt_cfb128() argument
212 AES_VALIDATE_RET( input != NULL ); in mbedtls_aes_crypt_cfb128()
227 c = *input++; in mbedtls_aes_crypt_cfb128()
241 iv[n] = *output++ = (unsigned char)( iv[n] ^ *input++ ); in mbedtls_aes_crypt_cfb128()
259 const unsigned char *input, in mbedtls_aes_crypt_cfb8() argument
269 AES_VALIDATE_RET( input != NULL ); in mbedtls_aes_crypt_cfb8()
277 ov[16] = *input; in mbedtls_aes_crypt_cfb8()
279 c = *output++ = (unsigned char)( iv[0] ^ *input++ ); in mbedtls_aes_crypt_cfb8()