Searched refs:kad (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/net/rxrpc/ |
D | key.c | 110 plen = sizeof(*token) + sizeof(*token->kad) + tktlen; in rxrpc_preparse_xdr_rxkad() 118 token->kad = kzalloc(plen, GFP_KERNEL); in rxrpc_preparse_xdr_rxkad() 119 if (!token->kad) { in rxrpc_preparse_xdr_rxkad() 125 token->kad->ticket_len = tktlen; in rxrpc_preparse_xdr_rxkad() 126 token->kad->vice_id = ntohl(xdr[0]); in rxrpc_preparse_xdr_rxkad() 127 token->kad->kvno = ntohl(xdr[1]); in rxrpc_preparse_xdr_rxkad() 128 token->kad->start = ntohl(xdr[4]); in rxrpc_preparse_xdr_rxkad() 129 token->kad->expiry = ntohl(xdr[5]); in rxrpc_preparse_xdr_rxkad() 130 token->kad->primary_flag = ntohl(xdr[6]); in rxrpc_preparse_xdr_rxkad() 131 memcpy(&token->kad->session_key, &xdr[2], 8); in rxrpc_preparse_xdr_rxkad() [all …]
|
D | rxkad.c | 70 if (crypto_sync_skcipher_setkey(ci, token->kad->session_key, in rxkad_init_connection_security() 71 sizeof(token->kad->session_key)) < 0) in rxkad_init_connection_security() 126 memcpy(&iv, token->kad->session_key, sizeof(iv)); in rxkad_prime_packet_security() 242 memcpy(&iv, token->kad->session_key, sizeof(iv)); in rxkad_secure_packet_encrypt() 473 memcpy(&iv, token->kad->session_key, sizeof(iv)); in rxkad_verify_packet_2() 868 resp->kvno = htonl(token->kad->kvno); in rxkad_respond_to_challenge() 869 resp->ticket_len = htonl(token->kad->ticket_len); in rxkad_respond_to_challenge() 877 ret = rxkad_encrypt_response(conn, resp, token->kad); in rxkad_respond_to_challenge() 879 ret = rxkad_send_response(conn, &sp->hdr, resp, token->kad); in rxkad_respond_to_challenge()
|
/kernel/linux/linux-5.10/include/keys/ |
D | rxrpc-type.h | 89 struct rxkad_key *kad; member
|