/system/extras/verity/ |
H A D | VeritySigner.java | 28 byte[] content = Utils.read(args[0]); 30 byte[] signature = Utils.sign(privateKey, content);
|
/system/core/fastbootd/ |
H A D | secure.h | 49 int cert_read(int fd, CMS_ContentInfo **content, BIO **output); 50 int cert_verify(BIO *content, CMS_ContentInfo *content_info, X509_STORE *store, int *out_fd); 51 void cert_release(BIO *content, CMS_ContentInfo *info);
|
H A D | secure.c | 100 int cert_read(int fd, CMS_ContentInfo **content, BIO **output) { argument 114 *content = SMIME_read_CMS(input, output); 115 if (*content == NULL) { 131 int cert_verify(BIO *content, CMS_ContentInfo *content_info, X509_STORE *store, int *out_fd) { argument 148 ret = CMS_verify(content_info, NULL ,store, content, output_temp, 0); 154 D(ERR, "Data used: content %p", content); 165 void cert_release(BIO *content, CMS_ContentInfo *info) { argument 166 BIO_free(content);
|
H A D | commands.c | 223 struct GPT_content content; local 241 GPT_default_content(&content, oldtable); 247 if (!GPT_parse_file(phandle->download_fd, &content)) { 252 if (trigger_gpt_layout(&content)) { 254 GPT_release_content(&content); 258 if (!GPT_write_content(device, &content)) { 260 GPT_release_content(&content); 264 GPT_release_content(&content);
|
/system/core/fastbootd/commands/ |
H A D | partitions.c | 108 int GPT_map_from_content(struct GPT_entry_table *table, const struct GPT_content *content) argument 112 if (gpt_mmap(&table->header_map, LBA_ADDR(table, content->header.current_lba), 120 table->partition_table_size = ROUND_UP(content->header.entries_count * sizeof(*table->entries), 124 if (gpt_mmap(&table->entries_map, LBA_ADDR(table, content->header.entries_lba), 133 if (gpt_mmap(&table->sec_header_map, LBA_ADDR(table, content->header.backup_lba), 141 LBA_ADDR(table, content->header.backup_lba) - table->partition_table_size, 165 struct GPT_content content; local 181 content.header = *header; 185 return GPT_map_from_content(table, &content); 222 static struct GPT_entry_table* GPT_get_from_content(const char *path, const struct GPT_content *content) argument 574 GPT_default_content(struct GPT_content *content, struct GPT_entry_table *table) argument 637 GPT_parse_header(cnode *node, struct GPT_content *content) argument 647 GPT_parse_partitions(cnode *node, struct GPT_content *content) argument 695 GPT_parse_cnode(cnode *root, struct GPT_content *content) argument 717 GPT_parse_file(int fd, struct GPT_content *content) argument 748 GPT_release_content(struct GPT_content *content) argument 753 GPT_write_content(const char *device, struct GPT_content *content) argument [all...] |
H A D | partitions.h | 128 void GPT_default_content(struct GPT_content *content, struct GPT_entry_table *table); 130 void GPT_release_content(struct GPT_content *content); 132 int GPT_parse_file(int fd, struct GPT_content *content); 134 int GPT_write_content(const char *device, struct GPT_content *content);
|
H A D | flash.c | 127 BIO *content; local 141 if (cert_read(signed_fd, &content_info, &content)) { 146 ret = cert_verify(content, content_info, store, data_fd); 147 cert_release(content, content_info);
|
/system/core/fastbootd/other/sign/src/ |
H A D | SignImg.java | 101 private static void save(MimeBodyPart content, String path) throws IOException, FileNotFoundException, MessagingException { argument 105 content.writeTo(os); 121 _mailcap.addMailcap("application/pkcs7-signature;; x-java-content-handler=org.bouncycastle.mail.smime.handlers.pkcs7_signature"); 122 _mailcap.addMailcap("application/pkcs7-mime;; x-java-content-handler=org.bouncycastle.mail.smime.handlers.pkcs7_mime"); 123 _mailcap.addMailcap("application/x-pkcs7-signature;; x-java-content-handler=org.bouncycastle.mail.smime.handlers.x_pkcs7_signature"); 124 _mailcap.addMailcap("application/x-pkcs7-mime;; x-java-content-handler=org.bouncycastle.mail.smime.handlers.x_pkcs7_mime"); 125 _mailcap.addMailcap("multipart/signed;; x-java-content-handler=org.bouncycastle.mail.smime.handlers.multipart_signed");
|
/system/media/camera/docs/ |
H A D | html.mako | 61 .entry_type_name_enum:after { color: #669900; font-weight: bold; content:" (enum)" } 67 .entry_type_enum_notes:before { content:" - " } 69 .entry_type_enum_value:before { content:" = " }
|