Lines Matching refs:k
168 static int aes_cmac(struct crypto_shash *tfm, const u8 k[16], const u8 *m, in aes_cmac()
183 swap_buf(k, tmp, 16); in aes_cmac()
187 SMP_DBG("key %16phN", k); in aes_cmac()
374 static int smp_e(const u8 *k, u8 *r) in smp_e() argument
380 SMP_DBG("k %16phN r %16phN", k, r); in smp_e()
383 swap_buf(k, tmp, 16); in smp_e()
405 static int smp_c1(const u8 k[16], in smp_c1()
412 SMP_DBG("k %16phN r %16phN", k, r); in smp_c1()
430 err = smp_e(k, res); in smp_c1()
447 err = smp_e(k, res); in smp_c1()
454 static int smp_s1(const u8 k[16], in smp_s1()
463 err = smp_e(k, _r); in smp_s1()
3515 const u8 k[16] = { in test_c1() local
3533 err = smp_c1(k, r, preq, pres, _iat, &ia, _rat, &ra, res); in test_c1()
3545 const u8 k[16] = { in test_s1() local
3558 err = smp_s1(k, r1, r2, res); in test_s1()