Home
last modified time | relevance | path

Searched refs:GSS_KRB5_TOK_HDR_LEN (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/net/sunrpc/auth_gss/ !
Dgss_krb5_wrap.c107 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 …]
Dgss_krb5_crypto.c804 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 …]
Dgss_krb5_seal.c100 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()
Dgss_krb5_unseal.c109 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()
Dauth_gss.c58 (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 \
Dsvcauth_gss.c63 #define GSS_MAX_CKSUMSIZE (GSS_KRB5_TOK_HDR_LEN + GSS_KRB5_MAX_CKSUM_LEN)
/linux-6.6.21/include/linux/sunrpc/ !
Dgss_krb5.h58 #define GSS_KRB5_TOK_HDR_LEN (16) macro