Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 15 of 15) sorted by relevance

/system/core/libprocessgroup/
Dprocessgroup.cpp38 struct ctx { struct
39 bool initialized;
40 int fd;
64 static int initCtx(uid_t uid, int pid, struct ctx *ctx) in initCtx()
88 static int refillBuffer(struct ctx *ctx) in refillBuffer()
110 static pid_t getOneAppProcess(uid_t uid, int appProcessPid, struct ctx *ctx) in getOneAppProcess()
217 struct ctx ctx; in killProcessGroupOnce() local
/system/core/libmincrypt/
Dsha.c38 static void SHA1_Transform(SHA_CTX* ctx) { in SHA1_Transform()
96 void SHA_init(SHA_CTX* ctx) { in SHA_init()
107 void SHA_update(SHA_CTX* ctx, const void* data, int len) { in SHA_update()
123 const uint8_t* SHA_final(SHA_CTX* ctx) { in SHA_final()
150 SHA_CTX ctx; in SHA_hash() local
Dsha256.c57 static void SHA256_Transform(SHA256_CTX* ctx) { in SHA256_Transform()
122 void SHA256_init(SHA256_CTX* ctx) { in SHA256_init()
136 void SHA256_update(SHA256_CTX* ctx, const void* data, int len) { in SHA256_update()
152 const uint8_t* SHA256_final(SHA256_CTX* ctx) { in SHA256_final()
179 SHA256_CTX ctx; in SHA256_hash() local
/system/core/include/mincrypt/
Dhash-internal.h53 #define HASH_init(ctx) (ctx)->f->init(ctx) argument
54 #define HASH_update(ctx, data, len) (ctx)->f->update(ctx, data, len) argument
55 #define HASH_final(ctx) (ctx)->f->final(ctx) argument
57 #define HASH_size(ctx) (ctx)->f->size argument
/system/keymaster/
Dkey_blob.cpp150 UniquePtr<AeCtx> ctx(InitializeKeyWrappingContext(master_key, &error_)); in EncryptKey() local
166 UniquePtr<AeCtx> ctx(InitializeKeyWrappingContext(master_key, &error_)); in DecryptKey() local
198 UniquePtr<AeCtx> ctx(new AeCtx); in InitializeKeyWrappingContext() local
Docb.c374 #define ROUNDS(ctx) ((ctx)->rounds) argument
387 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) argument
421 #define ROUNDS(ctx) ((ctx)->rounds) argument
424 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) argument
644 static block getL(const ae_ctx* ctx, unsigned tz) { in getL()
680 void ae_free(ae_ctx* ctx) { in ae_free()
690 int ae_clear(ae_ctx* ctx) /* Zero ae_ctx and undo initialization */ in ae_clear()
702 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len) { in ae_init()
747 static block gen_offset_from_nonce(ae_ctx* ctx, const void* nonce) { in gen_offset_from_nonce()
789 static void process_ad(ae_ctx* ctx, const void* ad, int ad_len, int final) { in process_ad()
[all …]
/system/core/logd/
Dlibaudit.h44 char ctx[0]; member
/system/extras/ext4_utils/
Duuid.c43 SHA1_CTX ctx; in sha1_hash() local
/system/extras/verity/
Dgenerate_verity_key.c45 BN_CTX* ctx = BN_CTX_new(); in convert_to_mincrypt_format() local
Dbuild_verity_tree.cpp91 struct sparse_hash_ctx *ctx = (struct sparse_hash_ctx *)priv; in hash_chunk() local
296 struct sparse_hash_ctx ctx; in main() local
Dverify_boot_signature.c222 EVP_MD_CTX *ctx = NULL; in hash_image() local
/system/core/mkbootimg/
Dmkbootimg.c110 SHA_CTX ctx; in main() local
/system/core/toolbox/
Dlsusb.c206 struct usb_host_context *ctx; in lsusb_main() local
/system/core/adb/
Dadb_auth_host.c71 BN_CTX* ctx = BN_CTX_new(); in RSA_to_RSAPublicKey() local
Dusb_libusb.c41 static libusb_context *ctx = NULL; variable