Searched refs:GSS_KRB5_TOK_HDR_LEN (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/net/sunrpc/auth_gss/ ! |
D | gss_krb5_wrap.c | 107 if (xdr_extend_head(buf, offset, GSS_KRB5_TOK_HDR_LEN)) in gss_krb5_wrap_v2() 152 u8 decrypted_hdr[GSS_KRB5_TOK_HDR_LEN]; in gss_krb5_unwrap_v2() 197 len - GSS_KRB5_TOK_HDR_LEN - tailskip, in gss_krb5_unwrap_v2() 198 decrypted_hdr, GSS_KRB5_TOK_HDR_LEN); in gss_krb5_unwrap_v2() 224 movelen -= offset + GSS_KRB5_TOK_HDR_LEN + headskip; in gss_krb5_unwrap_v2() 225 BUG_ON(offset + GSS_KRB5_TOK_HDR_LEN + headskip + movelen > in gss_krb5_unwrap_v2() 227 memmove(ptr, ptr + GSS_KRB5_TOK_HDR_LEN + headskip, movelen); in gss_krb5_unwrap_v2() 228 buf->head[0].iov_len -= GSS_KRB5_TOK_HDR_LEN + headskip; in gss_krb5_unwrap_v2() 229 buf->len = len - (GSS_KRB5_TOK_HDR_LEN + headskip); in gss_krb5_unwrap_v2() 232 xdr_buf_trim(buf, ec + GSS_KRB5_TOK_HDR_LEN + tailskip); in gss_krb5_unwrap_v2() [all …]
|
D | gss_krb5_crypto.c | 804 offset += GSS_KRB5_TOK_HDR_LEN; in gss_krb5_aes_encrypt() 808 offset -= GSS_KRB5_TOK_HDR_LEN; in gss_krb5_aes_encrypt() 820 memcpy(ecptr, buf->head[0].iov_base + offset, GSS_KRB5_TOK_HDR_LEN); in gss_krb5_aes_encrypt() 821 buf->tail[0].iov_len += GSS_KRB5_TOK_HDR_LEN; in gss_krb5_aes_encrypt() 822 buf->len += GSS_KRB5_TOK_HDR_LEN; in gss_krb5_aes_encrypt() 838 offset + GSS_KRB5_TOK_HDR_LEN, &hmac); in gss_krb5_aes_encrypt() 844 offset + GSS_KRB5_TOK_HDR_LEN, in gss_krb5_aes_encrypt() 879 xdr_buf_subsegment(buf, &subbuf, offset + GSS_KRB5_TOK_HDR_LEN, in gss_krb5_aes_decrypt() 880 (len - offset - GSS_KRB5_TOK_HDR_LEN - in gss_krb5_aes_decrypt() 1033 offset += GSS_KRB5_TOK_HDR_LEN; in krb5_etm_encrypt() [all …]
|
D | gss_krb5_seal.c | 100 token->len = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength; in setup_token_v2() 126 cksumobj.data = krb5_hdr + GSS_KRB5_TOK_HDR_LEN; in gss_krb5_get_mic_v2() 127 if (gss_krb5_checksum(tfm, krb5_hdr, GSS_KRB5_TOK_HDR_LEN, in gss_krb5_get_mic_v2()
|
D | gss_krb5_unseal.c | 109 if (gss_krb5_checksum(tfm, ptr, GSS_KRB5_TOK_HDR_LEN, in gss_krb5_verify_mic_v2() 113 if (memcmp(cksumobj.data, ptr + GSS_KRB5_TOK_HDR_LEN, in gss_krb5_verify_mic_v2()
|
D | auth_gss.c | 58 (GSS_KRB5_TOK_HDR_LEN /* gss token header */ \ 62 + GSS_KRB5_TOK_HDR_LEN /* encrypted hdr in v2 token */ \ 65 + GSS_KRB5_TOK_HDR_LEN \
|
D | svcauth_gss.c | 63 #define GSS_MAX_CKSUMSIZE (GSS_KRB5_TOK_HDR_LEN + GSS_KRB5_MAX_CKSUM_LEN)
|
/linux-6.6.21/include/linux/sunrpc/ ! |
D | gss_krb5.h | 58 #define GSS_KRB5_TOK_HDR_LEN (16) macro
|