Searched refs:ctx (Results 1 - 7 of 7) sorted by relevance
/system/core/libmincrypt/ |
H A D | sha.c | 51 static void SHA1_Transform(SHA_CTX* ctx) { argument 56 A = ctx->state[0]; 57 B = ctx->state[1]; 58 C = ctx->state[2]; 59 D = ctx->state[3]; 60 E = ctx->state[4]; 64 (W[t] = bswap_32(ctx->buf.w[t])) + \ 140 ctx->state[0] += A; 141 ctx->state[1] += B; 142 ctx 147 SHA_update(SHA_CTX* ctx, const void* data, int len) argument 171 SHA_final(SHA_CTX* ctx) argument 195 SHA1_transform(SHA_CTX *ctx) argument 245 SHA_update(SHA_CTX *ctx, const void *data, int len) argument 259 SHA_final(SHA_CTX *ctx) argument 286 SHA_init(SHA_CTX* ctx) argument 299 SHA_CTX ctx; local [all...] |
/system/core/include/mincrypt/ |
H A D | sha.h | 50 void SHA_init(SHA_CTX* ctx); 51 void SHA_update(SHA_CTX* ctx, const void* data, int len); 52 const uint8_t* SHA_final(SHA_CTX* ctx);
|
/system/extras/ext4_utils/ |
H A D | uuid.c | 43 SHA1_CTX ctx; local 44 SHA1Init(&ctx); 45 SHA1Update(&ctx, (const u8*)namespace, strlen(namespace)); 46 SHA1Update(&ctx, (const u8*)name, strlen(name)); 47 SHA1Final(sha1, &ctx);
|
/system/core/mkbootimg/ |
H A D | mkbootimg.c | 110 SHA_CTX ctx; local 221 SHA_init(&ctx); 222 SHA_update(&ctx, kernel_data, hdr.kernel_size); 223 SHA_update(&ctx, &hdr.kernel_size, sizeof(hdr.kernel_size)); 224 SHA_update(&ctx, ramdisk_data, hdr.ramdisk_size); 225 SHA_update(&ctx, &hdr.ramdisk_size, sizeof(hdr.ramdisk_size)); 226 SHA_update(&ctx, second_data, hdr.second_size); 227 SHA_update(&ctx, &hdr.second_size, sizeof(hdr.second_size)); 228 sha = SHA_final(&ctx);
|
/system/core/toolbox/ |
H A D | lsusb.c | 206 struct usb_host_context *ctx; local 211 ctx = usb_host_init(); 212 if (!ctx) { 217 usb_host_run(ctx, 223 usb_host_cleanup(ctx);
|
/system/core/adb/ |
H A D | usb_libusb.c | 41 static libusb_context *ctx = NULL; variable 70 libusb_exit(ctx); 586 ssize_t cnt = libusb_get_device_list(ctx, &devs); 632 int r = libusb_init(&ctx);
|
/system/security/softkeymaster/ |
H A D | keymaster_openssl.cpp | 348 EVP_MD_CTX ctx; local
|
Completed in 221 milliseconds