Lines Matching refs:k
169 static int aes_cmac(struct crypto_shash *tfm, const u8 k[16], const u8 *m, in aes_cmac()
184 swap_buf(k, tmp, 16); in aes_cmac()
188 SMP_DBG("key %16phN", k); in aes_cmac()
375 static int smp_e(const u8 *k, u8 *r) in smp_e() argument
381 SMP_DBG("k %16phN r %16phN", k, r); in smp_e()
384 swap_buf(k, tmp, 16); in smp_e()
406 static int smp_c1(const u8 k[16], in smp_c1()
413 SMP_DBG("k %16phN r %16phN", k, r); in smp_c1()
431 err = smp_e(k, res); in smp_c1()
448 err = smp_e(k, res); in smp_c1()
455 static int smp_s1(const u8 k[16], in smp_s1()
464 err = smp_e(k, _r); in smp_s1()
3531 const u8 k[16] = { in test_c1() local
3549 err = smp_c1(k, r, preq, pres, _iat, &ia, _rat, &ra, res); in test_c1()
3561 const u8 k[16] = { in test_s1() local
3574 err = smp_s1(k, r1, r2, res); in test_s1()