Home
last modified time | relevance | path

Searched refs:auth_size (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/nix/test/sys/
Dtest_socket.rs676 let auth_size = 4usize; in test_af_alg_aead() localVariable
688 let mut payload = vec![2u8; payload_len + (assoc_size as usize) + auth_size]; in test_af_alg_aead()
696 for i in 0..auth_size { in test_af_alg_aead()
706 setsockopt(sock, AlgSetAeadAuthSize, &auth_size).expect("setsockopt AlgSetAeadAuthSize"); in test_af_alg_aead()
718 let mut encrypted = vec![0u8; (assoc_size as usize) + payload_len + auth_size]; in test_af_alg_aead()
720 assert_eq!(num_bytes, payload_len + auth_size + (assoc_size as usize)); in test_af_alg_aead()
741 let mut decrypted = vec![0u8; payload_len + (assoc_size as usize) + auth_size]; in test_af_alg_aead()
/external/libcups/scheduler/
Dclient.c2133 size_t auth_size; /* Size of remaining buffer */ in cupsdSendHeader() local
2137 auth_size = sizeof(auth_str) - (size_t)(auth_key - auth_str); in cupsdSendHeader()
2142 strlcpy(auth_key, ", PeerCred", auth_size); in cupsdSendHeader()
2144 auth_size -= 10; in cupsdSendHeader()
2157 snprintf(auth_key, auth_size, ", AuthRef key=\"%s\", Local trc=\"y\"", name + 9); in cupsdSendHeader()
2168 snprintf(auth_key, auth_size, ", AuthRef key=\"%s\", Local trc=\"y\"", SystemGroupAuthKey); in cupsdSendHeader()
2171 strlcpy(auth_key, ", Local trc=\"y\"", auth_size); in cupsdSendHeader()
2178 strlcat(auth_key, ", Local", auth_size); in cupsdSendHeader()