Searched refs:SMP_ENCRYT_KEY_SIZE (Results 1 – 2 of 2) sorted by relevance
135 if ( (p_out == NULL ) || (key_len != SMP_ENCRYT_KEY_SIZE) ) in smp_encrypt_data()151 REVERSE_ARRAY_TO_STREAM (p, key, SMP_ENCRYT_KEY_SIZE); /* byte 32 to byte 47 */ in smp_encrypt_data()154 smp_debug_print_nbyte_little_endian(key, (const UINT8 *)"Key", SMP_ENCRYT_KEY_SIZE); in smp_encrypt_data()158 aes_set_key(p_rev_key, SMP_ENCRYT_KEY_SIZE, &ctx); in smp_encrypt_data()164 …_print_nbyte_little_endian(p_out->param_buf, (const UINT8 *)"Encrypted text", SMP_ENCRYT_KEY_SIZE); in smp_encrypt_data()167 p_out->param_len = SMP_ENCRYT_KEY_SIZE; in smp_encrypt_data()266 output.param_len = SMP_ENCRYT_KEY_SIZE; in smp_generate_stk()
257 #define SMP_ENCRYT_KEY_SIZE 16 macro