Lines Matching refs:t
62 int s, t; in linux_af_alg_hash_vector() local
78 t = accept(s, NULL, NULL); in linux_af_alg_hash_vector()
79 if (t < 0) { in linux_af_alg_hash_vector()
87 res = send(t, addr[i], len[i], i + 1 < num_elem ? MSG_MORE : 0); in linux_af_alg_hash_vector()
102 res = recv(t, mac, mac_len, 0); in linux_af_alg_hash_vector()
118 close(t); in linux_af_alg_hash_vector()
233 int t; member
302 ctx->t = accept(ctx->s, NULL, NULL); in crypto_hash_init()
303 if (ctx->t < 0) { in crypto_hash_init()
322 res = send(ctx->t, data, len, MSG_MORE); in crypto_hash_update()
343 close(ctx->t); in crypto_hash_deinit()
372 res = recv(ctx->t, mac, ctx->mac_len, 0); in crypto_hash_finish()
398 int t; member
408 if (skcipher->t >= 0) in linux_af_alg_skcipher_deinit()
409 close(skcipher->t); in linux_af_alg_skcipher_deinit()
422 skcipher->t = -1; in linux_af_alg_skcipher()
434 skcipher->t = accept(skcipher->s, NULL, NULL); in linux_af_alg_skcipher()
435 if (skcipher->t < 0) { in linux_af_alg_skcipher()
473 ret = sendmsg(skcipher->t, &msg, 0); in linux_af_alg_skcipher_oper()
480 ret = read(skcipher->t, out, AES_BLOCK_SIZE); in linux_af_alg_skcipher_oper()
575 ret = sendmsg(skcipher->t, &msg, 0); in rc4_skip()
587 ret = recvmsg(skcipher->t, &msg, 0); in rc4_skip()
648 ret = sendmsg(skcipher->t, &msg, 0); in des_encrypt()
655 ret = read(skcipher->t, cypher, 8); in des_encrypt()
717 ret = sendmsg(skcipher->t, &msg, 0); in aes_128_cbc_oper()
725 ret = recvmsg(skcipher->t, &msg, 0); in aes_128_cbc_oper()
826 ret = sendmsg(skcipher->t, &msg, 0); in aes_unwrap()
833 ret = read(skcipher->t, plain, n * 8); in aes_unwrap()
915 ret = sendmsg(ctx->skcipher->t, &msg, 0); in crypto_cipher_init()
954 ret = sendmsg(ctx->skcipher->t, &msg, 0); in crypto_cipher_oper()
961 ret = read(ctx->skcipher->t, out, len); in crypto_cipher_oper()